Merge pull request #465 from knu/move_save_button_up

Move the Save button right under the options.

Akinori MUSHA 10 anos atrás
pai
commit
3cb29326fa
1 arquivos alterados com 4 adições e 7 exclusões
  1. 4 7
      app/views/agents/_form.html.erb

+ 4 - 7
app/views/agents/_form.html.erb

@@ -86,6 +86,10 @@
86 86
               <%= Utils.jsonify((@agent.new_record? && @agent.options == {}) ? @agent.default_options : @agent.options) %>
87 87
             </textarea>
88 88
           </div>
89
+
90
+          <div class="form-group">
91
+            <%= f.submit "Save", :class => "btn btn-primary" %>
92
+          </div>
89 93
         </div>
90 94
       </div>
91 95
     </div>
@@ -106,11 +110,4 @@
106 110
       </div>
107 111
     </div>
108 112
   </div>
109
-
110
-  <div class='row'>
111
-    <div class="col-md-12">
112
-      <%= f.submit "Save", :class => "btn btn-primary" %>
113
-    </div>
114
-  </div>
115
-      
116 113
 <% end %>